﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
using Fluent;
using CommonControlLibrary;

namespace RibbonControlLibrary
{
    /// <summary>
    /// RibbonMainWindow.xaml 的交互逻辑
    /// </summary>
    public partial class RibbonMainWindow : RibbonWindow
    {
    
        public RibbonMainWindow()
        {
            InitializeComponent();
        }

        private void Button_Click(object sender, RoutedEventArgs e)
        {
          //   <Fluent:Ribbon.ContextualGroups>
          //  <Fluent:RibbonContextualTabGroup Header="Tools" Visibility="Visible" x:Name="toolsGroup" Background="Green" BorderBrush="Green" />
          //</Fluent:Ribbon.ContextualGroups>
              //<Fluent:RibbonTabItem Header="Contextual Tab" Group="{Binding ElementName=toolsGroup}"/>
            //if (this.searchGroup.Visibility == System.Windows.Visibility.Visible)
            //{
            //    this.searchGroup.Visibility = System.Windows.Visibility.Hidden;
            //}
            //else
            //{
            //    this.searchGroup.Visibility = System.Windows.Visibility.Visible;
            //}
        }
    }
}
